Skip to content

fix(ci): switch release-please to manifest mode for multi-package releases#6

Merged
matmilbury merged 1 commit intomainfrom
fix/release-please-manifest-mode
Apr 27, 2026
Merged

fix(ci): switch release-please to manifest mode for multi-package releases#6
matmilbury merged 1 commit intomainfrom
fix/release-please-manifest-mode

Conversation

@matmilbury
Copy link
Copy Markdown
Contributor

Summary

The publish job in CI was failing because the skill sub-package (packages/skill) version was never bumped by release-please. It was stuck at 0.1.3 (already published), causing:

npm error You cannot publish over the previously published versions: 0.1.3.

Release-please was configured in simple release-type: node mode, which only manages the root package.json. The sub-package at packages/skill/package.json was invisible to it.

Fix: Switch to manifest mode with two config files so release-please manages both packages. A linked-versions plugin keeps them in sync so they always share the same version number.

Type

  • Bug fix

Changes

  • release-please-config.json (new): Defines both . and packages/skill as managed packages with linked-versions plugin
  • .release-please-manifest.json (new): Tracks current published versions (0.2.1 root, 0.1.3 skill)
  • .github/workflows/release.yml: Removed release-type: node (now in config), switched output from release_created to releases_created (manifest mode)

Checklist

  • No secrets or credentials committed
  • No breaking changes
  • Workflow uses only trusted action inputs (no injection risk)

QA Instructions

  1. Merge this PR to main
  2. Release-please will create a release PR bumping both package.json files and generating CHANGELOGs for both packages
  3. Merging that release PR should successfully publish both @eterna-hybrid-exchange/openclaw-plugin and @eterna-hybrid-exchange/eterna-trading-skill to npm
  4. Verify both packages appear on npmjs.com with matching versions

Related

…eases

The skill sub-package (packages/skill) was not managed by release-please,
so its version was never bumped. This caused npm publish to fail with
'You cannot publish over the previously published versions: 0.1.3'.

Switch from simple release-type mode to manifest mode with:
- release-please-config.json defining both . and packages/skill
- .release-please-manifest.json tracking current versions
- linked-versions plugin to keep both packages in sync
- workflow updated to use releases_created (manifest output)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@matmilbury matmilbury merged commit 7741e2b into main Apr 27, 2026
1 check passed
@matmilbury matmilbury deleted the fix/release-please-manifest-mode branch April 27, 2026 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant